package com.ruoyi.customer.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class CustomerImportVo {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    private Long deptId;

    private String createBy;

    private Date createTime;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 电话
     */
    @ExcelProperty(value = "电话")
    private String tel;

    /**
     * 客户类别
     */
    @ExcelProperty(value = "星级")
    private String level;

    /**
     * 客户类别
     */
    @ExcelProperty(value = "客户类别")
    private String lb;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String bz;

    /**
     * 客户成熟度
     */
    @ExcelProperty(value = "客户成熟度")
    private String csd;

    /**
     * 用户性别
     */
    @ExcelProperty(value = "用户性别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_user_sex")
    private String sex;

    /**
     * 最后跟进时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "最后跟进时间")
    private Date lastRemarkTime;

    private String isDelete;

    private String errMsg;
}
